package com.ybkj.daijia.server.zhuanxian.route;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 起终点表
 * </p>
 *
 * @author xwy
 * @since 2019-12-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("route_point")
public class Point implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 拼音
     */
    private String pinyin;

    /**
     * 省
     */
    private String province;
    /**
     * 省行政区域代码
     */
    private String provinceAdcode;

    /**
     * 市
     */
    private String city;

    /**
     * 市行政区域代码
     */
    private String cityAdcode;

    /**
     * 启用状态：1、启用；2、未启用
     */
    private int status;

    private LocalDateTime created;

    private LocalDateTime updated;


}
